package com.amz.analyzer.keyword.req;

import com.amz.analyzer.req.PageReq;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

/**
 * <p>
 * 描述: 修改密码请求参数
 * </p>
 *
 * @author Freddy
 * @version 1.0
 * @since 2020/8/20 23:41
 */
@Data
@ToString
@EqualsAndHashCode(callSuper = false)
public class SearchRankReq extends PageReq {

    @ApiModelProperty(value = "关键词")
    private String keyword;

    @ApiModelProperty(value = "排除关键词，逗号分隔多个")
    private String excludeKeyword;

    @ApiModelProperty(value = "周搜索排名最小值")
    private String weekRankMin;

    @ApiModelProperty(value = "周搜索排名最大值")
    private String weekRankMax;

    @ApiModelProperty(value = "上周搜索排名最小值")
    private String lastWeekRankMin;

    @ApiModelProperty(value = "上周搜索排名最大值")
    private String lastWeekRankMax;

    @ApiModelProperty(value = "涨幅最小值")
    private String increaseNumberMin;

    @ApiModelProperty(value = "涨幅最大值")
    private String increaseNumberMax;

    @ApiModelProperty(value = "点击分享最小值")
    private String clickShareMin;

    @ApiModelProperty(value = "点击分享最大值")
    private String clickShareMax;

    @ApiModelProperty(value = "转化分享最小值")
    private String transShareMin;

    @ApiModelProperty(value = "转化分享最大值")
    private String transShareMax;

    @ApiModelProperty(value = "日期，默认为最新日期")
    private String date;

    @ApiModelProperty(value = "排序字段名")
    private String sortFieldName;

    @ApiModelProperty(value = "是否升序，1为升序，其他为倒序")
    private Integer asc;

    @ApiModelProperty(value = "数据日期，格式：yyyy-MM-dd，例如：2020-08-27")
    @NotBlank(message = "数据日期不能为空")
    private String statDate;

    @ApiModelProperty(value = "是否显示中文翻译，1显示，其他不显示 默认0不显示")
    private Integer showChinese = 0;

}
